package com.gxgy.web.domain;

import java.math.BigDecimal;

import com.gxgy.common.annotation.Excel;
import com.gxgy.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品管理对象 t_goods
 *
 * @author mobin
 * @date 2024-11-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "商品管理对象")
public class TGoods extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品
     */
    @ApiModelProperty(value = "商品")
    @Excel(name = "商品")
    private Long id;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    @Excel(name = "商品名称")
    private String goodName;

    /**
     * 商品描述
     */
    @ApiModelProperty(value = "商品描述")
    @Excel(name = "商品描述")
    private String desc;

    /**
     * 缩略描述
     */
    @ApiModelProperty(value = "缩略描述")
    @Excel(name = "缩略描述")
    private String descSmall;

    /**
     * 商品图片
     */
    @ApiModelProperty(value = "商品图片")
    @Excel(name = "商品图片")
    private String images;

    /**
     * 商品价格
     */
    @ApiModelProperty(value = "商品价格")
    @Excel(name = "商品价格")
    private BigDecimal price;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    @Excel(name = "类型")
    private Integer classify;

}
